const express = require('express')
const router = express.Router({strict: true})
const jwt = require('../middleware/jwt')
router.use(jwt())
//获取公钥
router.use(require('./pubKey'));
//登录注册
router.use(require('./admin'));
// 轮播图
router.use(require('./banner'));
// 新闻
router.use(require('./news'));
// 上传
router.use(require('./upload'));
//申请
router.use(require('./application'));
//主页查询
router.use(require('./search'));


module.exports = router
